package com.example.consumerservice.service;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("provider-service")
public interface ProviderServiceFeignClient {

    //@RequestParam get请求使用此注解增加参数 post使用@RequestBody
    @GetMapping("/provider/msg")
    public String getMsg();
}